package com.chenl.provider.DEMOS.Quartz.dynamicQuartz.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
 
/**
 * 定时任务调度表(SysJob)表实体类
 *
 * @author makejava
 * @since 2023-10-19 09:17:59
 */
@Data
@TableName("sys_job")
public class SysJob  {

    private Long id;//必须是唯一键否则会覆盖别的job


    //	@Schema(description="任务名称")
    private String jobName;


    //	@Schema(description="任务组名")
    private String jobGroup;


    //	@Schema(description="调用目标字符串")
    private String invokeTarget;


    //	@Schema(description="cron执行表达式")
    private String cronExpression;


    //	@Schema(description="计划执行错误策略（1立即执行 2执行一次 3放弃执行）")
    private String misfirePolicy;


    //	@Schema(description="是否并发执行（0允许 1禁止）")
    private String concurrent;


    //	@Schema(description="状态（0暂停 1正常）")
    private String status;


    //	@Schema(description="创建者")
    private String createBy;


    //	@Schema(description="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    //	@Schema(description="更新者")
    private String updateBy;


    //	@Schema(description="更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


    //	@Schema(description="备注信息")
    private String remark;


    //	@Schema(description="0-正常，1-删除")
    private Integer deleteStatus;

}
